pledge allegiance

Translations
prêter allégeance
Definitions
To make a solemn promise to be loyal to a country, organization, or cause, often expressed through a formal declaration or oath.